home *** CD-ROM | disk | FTP | other *** search
/ Kit PC World De Ampliacion De Windows 95 / Kit PC World de ampliacion de Windows 95.iso / lotus / lotus022.dsk / SURFNET.MPR / SCRIPT / ApproachDoc / Webster Browser / Body / txtSaveWebSite.s (.txt) < prev    next >
Null Bytes Alternating  |  1995-11-13  |  2KB  |  23 lines

  1. '++LotusScript Development Environment:2:5:(Options):0:66
  2.  
  3. '++LotusScript Development Environment:2:5:(Forward):0:1
  4. Declare Sub Click(Source As Textbox, X As Long, Y As Long, Flags As Long)
  5.  
  6. '++LotusScript Development Environment:2:5:(Declarations):0:2
  7.  
  8. '++LotusScript Development Environment:2:2:BindEvents:1:129
  9. Private Sub BindEvents(Byval Objectname_ As String)
  10.     Static Source As TEXTBOX
  11.     Set Source = Bind(Objectname_)
  12.     On Event Click From Source Call Click
  13. End Sub
  14.  
  15. '++LotusScript Development Environment:2:2:Click:1:12
  16. Sub Click(Source As Textbox, X As Long, Y As Long, Flags As Long)
  17.     'Get the URL and title.
  18.     strURL = CurrentDocument.Webster~ Browser.Body.oleWebster.PageURL
  19.     strPageTitle = CurrentDocument.Webster~ Browser.Body.oleWebster.PageTitle
  20.     
  21.     'Bring up the 'Save Web Site' form.
  22.     Set CurrentApplication.ActiveView = CurrentDocument.Save~ Web~ Site
  23. End Sub